<?php

/*
    Function: phptal_tales_money
    This modifier will return a money formated string (XXX.XX)

    Usage:
        > money: path/to/my/amount
*/
function phptal_tales_money( $src, $nothrow )
{
    // remove spaces we do not require here
    $src = trim($src); 
    return 'sprintf("%01.2f", '.PHPTAL_TalesInternal::path($src, $nothrow).')';
}


?>